import java.util.Scanner;

public class Check {
    String regex1="(131\\d+)|(145\\d+)|(155\\d+)";
    String regex2="";
    String regex3="";

    String number;

    public static void main(String[] args) {
        while(true) {
            Scanner scanner = new Scanner(System.in);
            Check check = new Check();


            check.number = scanner.nextLine();
            if(check.number.matches(check.regex1)&&check.number.length()==11){
                System.out.println("该号码为中国联通");
                break;
            } else if (check.number.matches(check.regex2)&&check.number.length()==11) {
                System.out.println("该号码为中国电信");
                break;

            } else if (check.number.matches(check.regex3)&&check.number.length()==11) {
                System.out.println("该号码为中国移动");
                break;

            }else if(check.number.length()==11) {
                System.out.println("该号码为其他公司的号码");
                break;
            }else {
                System.out.println("号码为无效号码");
            }


        }


    }

}




